<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
%>
<div id="yhc_responsive" class="main">
    <div class="allProduct respl-header">
        <ul class="ProductList respl-items">
            <c:forEach items="${requestScope.pageInfo.list}" var="information" varStatus="stat">
                <li class="respl-item category-10">
                    <div class="unit">
                        <p class="hoverline"></p>
                        <a class="images" href="<%=path%>/web/information/showList?id=${information.id}"><img src="<%=path %>/web/uploadImages/${information.pic}"></a>
                        <h1><a href="<%=path%>/web/information/showList?id=${information.id}">${information.name}</a></h1>
                        <dl>
                            <dd>${information.sex}</dd>
                            <dd>${information.losttype.title}</dd>
                            <dd>失踪地点:${information.lostPlace}</dd>
                        </dl>
                        <div class="view">
                            <div class="left">${information.browse}浏览</div>
                            <a class="right" href="<%=path%>/web/information/showList?id=${information.id}">查看<span>&gt;</span></a>
                        </div>
                    </div>
                </li>
            </c:forEach>
        </ul>
    </div>


<%--<div style="text-align:center;margin-bottom:20px" class="biankuang">
    <table>
        <tr>
            <td colspan="4" style="font-size: 20px;">
                <c:forEach begin="1" end="${requestScope.pageInfo.pages}" var="i">
                    <c:if test="${requestScope.pageInfo.pageNum eq i}" var="isCur">
                        <a href="#"><span class="num" style=" display: inline-block;width: 50px;height: 50px;border: #c3c0bf solid  1px;text-align: center;line-height: 50px;border-radius: 0;">${i}</span></a>
                    </c:if>
                    <c:if test="${not isCur}">
                        <a href="#" data-id="${i}">${i}</a>
                    </c:if>
                </c:forEach>
            </td>
        </tr>
    </table>
</div>--%>
    <div class="page-list">
    <c:forEach begin="1" end="${requestScope.pageInfo.pages}" var="i">
    <c:if test="${requestScope.pageInfo.pageNum eq i}" var="isCur">
    <a href="#"><span class="current">${i}</span></a>&nbsp;
    </c:if>
    <c:if test="${not isCur}">
    <a href="#" data-id="${i}">${i}</a>
    </c:if>
    </c:forEach>
    </div>